package io.wongxd.solution.shatter


import android.content.Intent
import android.os.Bundle

interface ShatterLifecycleListener {

    //<editor-fold desc="通用的生命周期">

    fun onStart()

    fun onResume()

    fun onPause()

    fun onStop()

    fun onDestroy()

    fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?)

    //</editor-fold>


    //<editor-fold desc="Activity 的特有生命周期">

    fun onNewIntent(intent: Intent?)

    fun onSaveInstanceState(outState: Bundle?)

    fun onRestoreInstanceState(savedInstanceState: Bundle?)

    fun enableOnBackPressed(): Boolean

    //</editor-fold>


    //<editor-fold desc=" Fragment 的特有回调">

    fun onHiddenChanged(isHidden: Boolean)

    //</editor-fold>

}